#
# @lc app=leetcode.cn id=217 lang=python3
#
# [217] 存在重复元素
#

# @lc code=start
class Solution:
    def containsDuplicate(self, nums: List[int]) -> bool:
        nums2=list(set(nums))
        if len(nums2)==len(nums):
            return False
        return True
# @lc code=end

